/**
 * router
 */
import Vue from 'vue';
import Router from 'vue-router';
import Index from '@/txry/components/index/index';
import ReverseOne from '@/txry/components/reverse/one';
import ReverseTwo from '@/txry/components/reverse/two';
import readKnow from '@/txry/components/search/readKnow';
import searchOne from '@/txry/components/search/one';
import Infor from '@/txry/components/search/infor';
import Search from '@/txry/components/search/search';
import Change from '@/txry/components/Change/one';

Vue.use(Router);

export default new Router({
  routes: [{
      path: '/',
      redirect: '/index'
    },
    {
      path: '/index',
      name: 'index',
      component: Index
    },
    {
      path: '/reverseone',
      name: 'reverseOne',
      component: ReverseOne
    },
    {
      path: '/reversetwo',
      name: 'reverseTwo',
      component: ReverseTwo
    }, {
      path: '/readknow',
      name: 'readKnow',
      component: readKnow
    }, {
      path: '/searchone',
      name: 'searchOne',
      component: searchOne
    }, {
      path: '/search',
      name: 'search',
      component: Search
    }, {
      path: '/change',
      name: 'change',
      component: Change
    }
  ]
});
